package com.coocaa.ops.admin.v1.auth.sys.biz;

import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysUserRoleMapper;
import com.coocaa.ops.common.core.base.IBaseBiz;
import com.coocaa.ops.common.core.biz.auth.entity.SysUserRoleEntity;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2019/3/18.
 * @description
 */
public interface ISysUserRoleBiz extends IBaseBiz<ISysUserRoleMapper, SysUserRoleEntity> {
    /**
     * 批量保存 用户角色
     *
     * @param userId
     * @param userRoles
     * @return
     */
    void saveBatch(Integer userId, List<SysUserRoleEntity> userRoles);
}
